package com.justech.mes.v2.dao.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author feifei.li
 */
@Mapper
public interface MesUserFixedAbnormalRecordMapper {

    /**
     * 判断用户是否已经触发过固定异常
     *
     * @param userName
     * @param batchId
     * @param prodDate
     * @return
     */
    Integer findByUser(@Param("userName") String userName, @Param("batchId") Long batchId, @Param("prodDate") String prodDate);
}
